﻿using MediatR;
using SlaughterItem.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace SlaughterItem.API.Application.Commands.Week02._IPQC.AddIPQCData
{
    public class AddIPQCDataCommand : IRequest<Result>
    {
        /// <summary>
        /// 检疫标准Id
        /// </summary>
        public int IPQCId { get; set; }
        /// <summary>
        /// 单据Id
        /// </summary>
        public string LiveAnimalsDocument { get; set; } = string.Empty;
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime LiveAnimalsDocumentTIme { get; set; } = DateTime.Now;
        /// <summary>
        /// 标准名称
        /// </summary>
        public string IPQCName { get; set; } = string.Empty;
        /// <summary>
        /// 检疫类型
        /// </summary>
        public string IPQCType { get; set; } = string.Empty;
        /// <summary>
        /// 执行标准
        /// </summary>
        public string ExecuteIPQC { get; set; } = string.Empty;
        /// <summary>
        /// 应用商品
        /// </summary>
        public string UseGoodsName { get; set; } = string.Empty;
        /// <summary>
        /// 开启状态
        /// </summary>
        public bool IsIPQC { get; set; } = false;
        /// <summary>
        /// 审核状态
        /// </summary>
        public bool IPQCAuditState { get; set; } = false;
        /// <summary>
        /// 制单人
        /// </summary>
        public string IPQCCreateName { get; set; } = string.Empty;
        /// <summary>
        /// 制单时间
        /// </summary>
        public DateTime AuditStateTIme { get; set; } = DateTime.Now;
        /// <summary>
        /// 检疫项目
        /// </summary>
        public string PRQSName { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleteIPQC { get; set; } = false;
    }
}
